--- dockapp-0.6.0/src/damain-orig.c	2005-04-20 20:05:04.000000000 +0200
+++ dockapp-0.6.0/src/damain.c	2005-06-04 19:21:34.000000000 +0200
@@ -237,6 +237,7 @@
 DAInitialize(char *display, char *name, unsigned width, unsigned height,
 	int argc, char **argv)
 {
+    _daContext= DAContextInit();    
     DAOpenDisplay(display, argc, argv);
     DACreateIcon(name, width, height, argc, argv);
 }
